package com.sabm.dao;

import java.util.List;

import com.sabm.model.Account;
import com.sabm.model.Role;

public interface UserDAO {
	public void save(Account account);
	//
	public void delete(Account account);
	//
	public void update(Account account);
	//
	public void saveOrUpdateRole(Role role);
	//
	public Account get(int id);
	public Account get(String username);
	public List<Account> getListAccount();
	public boolean checkUsername(String username);
}
